package com.glink.manage.vo.menu;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class MenuLeafVO {

    private String type = "2";

    @ApiModelProperty(value = "菜单ID")
    private String menuId;

    @ApiModelProperty(value = "菜单名")
    private String name;

    @ApiModelProperty(value = "菜单路径")
    private List<String> uriList;

    @ApiModelProperty(value = "上一级菜单id")
    private String pid;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "键值标识")
    @TableField(value = "`key`")
    private String key;

    @ApiModelProperty(value = "资源排序索引")
    private int idx;

    @ApiModelProperty(value = "是否启用菜单,默认不启用,0-不启用,1-启用")
    private int enable;

    @ApiModelProperty(value = "是否在新页面打开,默认不打开,0-不打开,1-打开")
    private String isPage;

    @ApiModelProperty(value = "导航栏位置(0=无;1=顶部;2=左侧)")
    private String place = "2";
}
